import request from '@/utils/request'

export const uploadImg = data =>
  request({
    url: '/admin/index/upload?mode=base64&type=image',
    method: 'post',
    data,
  })
